Ptatap\Compatibility\Wpml C

Total Complexity 120
Dependencies 4
Dependents 1
Total lines 554
Lines of code 406
Logical lines of code 264
Comment lines 8
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
setPostTypeTranslationStrings()
B
38 16 73
setIcLsLanguages()
A
43 15 46
setRewriteRulesArray()
A
45 13 41
setOptionValueToDefaultLanguage()
A
45 11 45
getPostTypeLink()
A
48 9 33
setTaxonomyTranslationStrings()
A
54 9 19
redirectTo404IfArchivePageNotFoundInCurrentLanguage()
S
52 6 26
getPostTypeArchiveLink()
S
55 6 19
setWpmlAlternateHrefLang()
S
57 6 16
setWpmlLsLanguageUrls()
S
56 6 16
getWpmlObjectId()
S
62 6 10
setTranslatedPostTypeReadingSettings()
S
61 5 11
addTrailingSlashToIcLsLanguagesUrls()
S
64 4 9
__construct()
S
57 2 15
getPageForArchiveUri()
S
60 2 12
isWpmlActive()
S
70 2 6
getTranslatedPermalinkBaseUri()
S
64 2 9